package com.mf.service;


import com.baomidou.mybatisplus.extension.service.IService;
import io.github.heollhai.common.entity.bo.RoleBo;
import io.github.heollhai.common.entity.request.publicRequest.PublicBindingIdRequest;

import java.util.List;

/**
* 角色表 服务类
*
* @author mf
* @since 2024-08-06
*/
    public interface IRoleService extends IService<RoleBo> {

    Boolean userBindingRole(PublicBindingIdRequest bindingIdRequest);

    Integer removeRoleById(Integer id);

    /**
     * 根据用户id查询绑定的角色id
     */
    List<Integer> findListByRoleId(Integer userId);
}
